#pragma once
#include<stdio.h>
#include<assert.h>
typedef int HeapType;
void AdjustUp(HeapType *arr,int child);
void AdjustDown(HeapType* arr, int parent, int n);
void Swap(HeapType* x, HeapType* y);